<extend name='Layout/index'/>
<block name='breadcrumb'>
	<li>
		<i class="icon-home home-icon"></i>
		<a href="<{:U('Index/index')}>">首页</a>
	</li>
	<li class="active">学员信息管理</li>
</block>
<block name='page-header'>
	<h1>
		学员信息管理
		<small>
			<i class="icon-double-angle-right"></i>
			 信息查询
		</small>
	</h1>
</block>
<block name='main-content'>
	<div class="row">
		<div class="col-md-12">
			<table class="table table-striped">
				<thead>
					<tr>
						<td>ID</td>
						<td>姓名</td>
						<td>年龄</td>
						<td>性别</td>
						<td>班期</td>
						<td>操作</td>
					</tr>
				</thead>
				<tbody>
					<volist name='data' id='vo'>
						<tr>
							<td><{$vo.id}></td>
							<td><{$vo.name}></td>
							<td><{$vo.age}></td>
							<td><if condition='$vo.sex eq "1"'>男<else/>女</if></td>
							<td><{$vo.grade}></td>
							<td>
								<a href="<{:U('delete',array('id'=>$vo['id']))}>" class="btn btn-danger">删除</a>
								<a href="<{:U('edit',array('id'=>$vo['id']))}>" class="btn btn-info">修改</a>
							</td>
						</tr>
					</volist>
					<tr>
						<td colspan=6>
							<{$show}>
						</td>
					</tr>
				</tbody>
			</table>
		</div>
	</div>
</block>
